package com.jmp.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * @author cjr
 */
@Data
@Builder
public class CategoryChildResponse {
    @ApiModelProperty(value = "二级分类列表", dataType = "CategoryChildResponse.Type")
    private List<Type> typeList;

    @Data
    @Builder
    @ApiModel("CategoryChildResponse.Type")
    public static class Type {
        private Integer typeId;
        private String typeName;
        private String photo;
    }
}
